package org.hzero.order.domain.repository;

import org.hzero.mybatis.base.BaseRepository;
import org.hzero.order.domain.entity.Company;

import io.choerodon.core.domain.Page;
import io.choerodon.mybatis.pagehelper.domain.PageRequest;

/**
 * @author xiuiqng.Yang-Estelle-양수청
 * @date 2019/8/5 13:35
 */

/**
 * Repository
 */
public interface CompanyRepository extends BaseRepository<Company> {

    /**
     * 分页查询公司
     * @param company
     * @param pageRequest  分页参数
     * @return
     */
    Page<Company> pageCompany(Company company, PageRequest pageRequest);
}
